Input – A list of modular input controls.


Minput_IsMouseOver(x, y, pixelwidth, pixelheight)

Returns whether mouse is over a particular screen area. 0=no; 1=yes


Minput_CleanTextInput(text$, allownewline)

Returns string with all non-typable characters removed. allownewline 0;1 allows ascii char 10 newline.


MInput_MouseClick()

Returns whether user has just released left mouse button. 0=no;1=yes


MInput_MouseMiddleClick()

Returns whether user has just released middle mouse button. 0=no;1=yes


MInput_MouseRightClick()

Returns whether user has just released right mouse button. 0=no;1=yes


MInput_ReturnKey()

Returns whether user has just released enter/return key. 0=no;1=yes


MInput_ReturnKeyUnblock()

Clears return key pressed state if return key is not pressed.


MInput_MouseLock()

Locks out all mouse controls mentioned here.


MInput_MouseUnLock()

Unlocks all mouse controls mentioned here.


MInput_Unblock()

Clears mouse clicked state if mouse left/right is not pressed.